package com.lh.springcloud.alibaba.mapper;

import com.lh.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {

    //创建订单
    void create(Order order);

    //修改订单状态
    void updateMoney(@Param("userId") Long userId,@Param("status") Boolean status);


    List<Order> queryAll(Order order);
}
